package com.generic.test01;

/**
 * @author bin
 * @date 2025 - 03 -25
 **/
public class MianTest {
    public static void main(String[] args) {
        People<Animal> zs = new People<>();
        Dog xb = new Dog();
        Cat cat = new Cat();
        zs.setPet(cat);
        zs.shopping();
    }
}
